﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NopSolutions.NopCommerce.BusinessLogic.Manufacturers;

namespace NopSolutions.NopCommerce.LuceneHelper
{
    public class ManufacturerValue : Manufacturer
    {
        public ManufacturerValue(Manufacturer inheritFrom, long total)
        {
            this.CreatedOn = inheritFrom.CreatedOn;
            this.Deleted = inheritFrom.Deleted;
            this.Description = inheritFrom.Description;
            this.DisplayOrder = inheritFrom.DisplayOrder;
            this.ManufacturerId = inheritFrom.ManufacturerId;
            this.MetaDescription = inheritFrom.MetaDescription;
            this.MetaKeywords = inheritFrom.MetaKeywords;
            this.MetaTitle = inheritFrom.MetaTitle;
            this.Name = inheritFrom.Name;
            this.PageSize = inheritFrom.PageSize;
            this.PictureId = inheritFrom.PictureId;
            this.PriceRanges = inheritFrom.PriceRanges;
            this.Published = inheritFrom.Published;
            this.SEName = inheritFrom.SEName;
            this.TemplateId = inheritFrom.TemplateId;
            this.UpdatedOn = inheritFrom.UpdatedOn;
            this.Total = total;
        }
        public long Total { get; set; }
    }
}
